<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.sorted.js"></script>
    <script type="text/javascript" src="js/bootstrap.js"></script>
    <script type="text/javascript" src="js/ckform.js"></script>
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/showdate.js"></script>
    <script type="text/javascript" src="../js/contextPath.js"></script>
    <script>
        function check() {
            var obj=document.getElementById("ucourse").value;
            var msg="<font color='green'>√</font>";
            if(obj=="")msg="<font color='red'>大类名称不能为空</font>";
            var span=document.getElementById("sur");
            span.innerHTML=msg;
        }
    </script>
    <style type="text/css">
        body {font-size: 20px;
            padding-bottom: 40px;
            background-color:#e9e7ef;
            font-size:17px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }
    </style>
</head>
<table id="course" class="table table-condensed">
    <tr>
        <td height="28" align="center">输入你想要学习的大类</td>
    </tr>
    <tr>
        <td height="28"><input type="text" id="ucourse"onblur="check()" value=""/><span id="sur" style=" color:#F00">*请输入大类名</span></td>
    </tr>
    <tr>
        <td>
            <button style="margin-left:5px;" id ="btn" class="btn btn-primary" >保存</button>
        </td>
    </tr>
</table>
</body>
</html>
<script type="text/javascript" src="js/select.js"></script>